<template>
  <div class="HotelDetails-body" >
        <div class="hotel-top">
            <img src="../../assets/jiudiantoux.png" class="hotel-topImg" alt="">
            <div>
                <h2 class="hotel-h2">北京华尔道夫酒店</h2>
                <p class="hotel-p"> 北京市东城区金鱼胡同5-15号</p>
            </div>
        </div>
        <div class="hoteleDetails-list" style=" margin-top: 2.24vh;">
            <h1 class="hoteleDetails-h1">酒店编号</h1>
            <span class="hoteleDetails-span">3695</span>
        </div>
        <div style=" margin-top: 2.24vh;background: rgba(255, 255, 255, 1) ">
            <div class="hoteleDetails-list ">
                <h1 class="hoteleDetails-h1">该酒店销售额</h1>
                <span class="hoteleDetails-span" style="font-size:20px" @click="onHotelSales">. . .</span>
            </div>
            <div class="hoteleDetails-listBorder"></div>
            <div class="hoteleDetails-list ">
                <h1 class="hoteleDetails-h1">该酒店销售量</h1>
                <span class="hoteleDetails-span" style="font-size:20px" @click="onTotalalesvolume">. . .</span>
            </div>
            <div class="hoteleDetails-listBorder"></div>
              <div class="hoteleDetails-list ">
                <h1 class="hoteleDetails-h1">该酒店分成额</h1>
                <span class="hoteleDetails-span" style="font-size:20px" @click="onTotelsharing">. . .</span>
            </div>
        </div>
         <div style=" margin-top: 2.24vh; background: rgba(255, 255, 255, 1)">
            <div class="hoteleDetails-list">
                <h1 class="hoteleDetails-h1">柜机内商品余量</h1>
                <span class="hoteleDetails-span">95216</span>
            </div>
            <div class="hoteleDetails-listBorder"></div>
              <div class="hoteleDetails-list ">
                <h1 class="hoteleDetails-h1">酒店内商品余量</h1>
                <span class="hoteleDetails-span" >4613548</span>
            </div>
        </div>
         <div style=" margin-top: 2.24vh; background: rgba(255, 255, 255, 1)">
            <div class="hoteleDetails-list ">
                <h1 class="hoteleDetails-h1">未启用柜机</h1>
                <span class="hoteleDetails-span"  @click="onHotelcounter">30台 · · ·</span>
            </div>
            <div class="hoteleDetails-listBorder"></div>
              <div class="hoteleDetails-list ">
                <h1 class="hoteleDetails-h1">已启用柜机</h1>
                <span class="hoteleDetails-span"  @click="onEnabled">20台 · · ·</span>
            </div>
        </div>
         <div style=" margin-top: 2.24vh;background: rgba(255, 255, 255, 1)">
            <div class="hoteleDetails-list ">
                <h1 class="hoteleDetails-h1">店长</h1>
                <span class="hoteleDetails-span" >王华</span>
            </div>
            <div class="hoteleDetails-listBorder"></div>
            <div class="hoteleDetails-list ">
                <h1 class="hoteleDetails-h1">柜机配置</h1>
                <span class="hoteleDetails-span" >低配、高配</span>
            </div>
            <div class="hoteleDetails-listBorder"></div>
              <div class="hoteleDetails-list ">
                <h1 class="hoteleDetails-h1">补货员</h1>
                <span class="hoteleDetails-span" @click="onReplenishmentclerk" >· · ·</span>
            </div>
        </div>
  </div>
</template>

<script>
// 酒店配置详情
export default {
  name: 'Hoteldetails',
  methods: {
    onHotelSales () {
      this.$router.push({ name: 'HotelSales' })
    },
    onTotalalesvolume () {
      this.$router.push({ name: 'Totalalesvolume' })
    },
    onTotelsharing () {
      this.$router.push({ name: 'Hotelsharing' })
    },
    onHotelcounter () {
      this.$router.push({ name: 'Hotelcounter' })
    },
    onEnabled () {
      this.$router.push({ name: 'Enabled' })
    },
    onReplenishmentclerk () {
      this.$router.push({ name: 'Replenishmentclerk' })
    }
  },
  created: () => {
    document.title = '北京华尔道酒店'
  }
}
</script>

<style lang='scss' scoped>
.HotelDetails-body {
  box-sizing: border-box;
  width: 100vw;
  background: #f2f2f2;
}
.hotel-top {
  height: 11.8vh;
  padding-top: 2.3vh;
  margin-top: 2.3vh;
  display: flex;
  background: rgba(255, 255, 255, 1);
}
.hetel-solids {
  float: left;
  margin-top: 3.8vh;
  margin-left: -14.4vw;
  width: 96vw;
  height: 1px;
  background: rgba(238, 238, 238, 1);
}
.hotel-topImg {
  margin-left: 3.46vw;
  width: 13.01vw;
  height: 7.34vh;
  margin-right: 1.33vw;
}
.hotel-h2 {
  width: 78vw;
  font-size: 4.5vw;
  font-family: SourceHanSansCN-Bold;
  font-weight: bold;
  color: rgba(22, 22, 22, 1);
  margin-bottom: 1.48vh;
  margin-top: 0.79vh;
}
.hotel-p {
  font-size: 3.2vw;
  font-family: SourceHanSansCN-Regular;
  font-weight: 400;
  color: rgba(134, 134, 134, 1);
}
.hoteleDetails-list {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 8.23vh;
  align-items: center;
  background: rgba(255, 255, 255, 1);
}
.hoteleDetails-h1 {
  margin-left: 3.45vw;
  font-size: 4.53vw;
  font-family: SourceHanSansCN-Regular;
  font-weight: 400;
  color: rgba(22, 22, 22, 1);
}
.hoteleDetails-span {
  font-size: 3.37vw;
  font-family: SourceHanSansCN-Regular;
  font-weight: 400;
  color: rgba(168, 168, 168, 1);
  margin-right: 3.35vw;
}
.hoteleDetails-listBorder{
  float: right;
  width: 96vw;
  height: 1px;
  border-bottom: 1px solid rgba(238, 238, 238, 1);
}
</style>
